package com.bootdo.backlist.dao;

import com.bootdo.backlist.domain.AppuserDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 用户表
 * @author zengcx
 * @email 13851161069@163.com
 * @date 2019-04-10 17:06:08
 */
@Mapper
public interface AppuserDao {

	AppuserDO get(Long userId);
	
	List<AppuserDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(AppuserDO appuser);
	
	int update(AppuserDO appuser);
	
	int remove(Long user_id);
	
	int batchRemove(Long[] userIds);

	AppuserDO login(AppuserDO appuser);
}
